#include "Rust3D.h"
#ifdef linux
Rust3D::Rust3D(std::string title, int width, int height, int bits,
                    bool fullscreenflag) : LinuxGLWindow(title,width,height,bits,fullscreenflag)
{
    //ctor
}

Rust3D::~Rust3D()
{
    //dtor
}

void Rust3D::resetScene()
{
    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
    glLoadIdentity();
}
void Rust3D::flipBuffers()
{
    if (isDoubleBuffered())
    {
        glXSwapBuffers(getDisplay(), getWindow());
    }
}
#endif
